home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / lvswin.zip / WINPICK.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-18  |  854 b   |  39 lines

  1. /*
  2.  *            LVS Windows
  3.  *      The Window Class System
  4.  *
  5.  *        Copyright 1991 (c), Lake View Software
  6.  *                            4321 Harborough Rd.
  7.  *                            Columbus, OH 43220
  8.  *        All rights reserved.
  9.  */
  10. // Window Pick list class
  11.  
  12. #include "winobj.hpp"
  13.  
  14. #ifndef WINPICK_HPP
  15. #define WINPICK_HPP
  16.  
  17. class WinPick:public WinObj
  18. {
  19.     protected:
  20.         char **pick_list;
  21.         int count;
  22.         int bar_attr;
  23.         int pointer,cursor;
  24.         void up ();
  25.         void down ();
  26.         void mouse_routine (int y, int x);
  27.         char bor_char (int y, int x, char &);
  28.     public:
  29.         WinPick ();
  30.         ~WinPick ();
  31.  
  32.         void prompt (char **list,int num=-1);
  33.         int read (int start = 0);
  34.         int set_barattr (int attr);     // returns old value
  35. };
  36.  
  37.  
  38. #endif
  39.